﻿@using NewRen.Models;
@using NewRen.Models.ViewModel;

@{
    UserGroup group = ViewBag.UserGroup;
    ViewBag.Title = "牛人管理";
    Layout = "~/Views/Shared/_Layout_UserGroup.cshtml";
}
<script>
    var UserGroup_id=@group.ID;
    var SID="@ViewBag.SID";
    Load();
</script>

<div class="ucenter-left account-left-border">
    <div class="ucneter-l-head cf">
        <div class="ulhead-headicon">
            @if (group.Picture == null)
            {
                <img src="/Images/userphoto.png" width="50" height="50"
                     alt=@group.GroupName style="border-radius:50%;" />
            }
            else
            {
                <img src="/UserGroup/ShowPicture/@group.ID" width="50"
                     alt=@group.GroupName height="50" style="border-radius:50%;" />
            }

        </div>
        <div class="ulhead-info">
            <p class="ulhead-info-uname">@group.GroupName</p>

            <div class="ulhead-info-tool">
                <a class="ulhead-icon icon-lock ucenter-mail " href="/UserGroup/PwdEdit/@group.ID" title="修改密码">
                    <div class="ucenter-mail-tip">修改密码</div>
                </a>
                <a href="/User/Edit/@group.ID"
                   class="ulhead-icon icon-setting ucenter-mail" title="修改牛棚信息"></a>
            </div>
        </div>
    </div>
    <div class="ucenter-l-list">
        <ul class="ullist-ul">
            <li id="uclick">
                <a href="/UserGroup/Show/@group.ID">牛棚中心</a>
            </li>
            <li id="uclick1">
                <a href="/UserGroup/Edit/@group.ID">牛棚设置</a>
            </li>
            <li id="uclick2" class="active">
                <a href="/UserGroup/UserManager/@group.ID">牛棚牛人</a>
            </li>
        </ul>
    </div>
</div>
<div class="ucenter-right cf">
    <div class="ucenter-right-head">
        <button class="btn" onclick="location.href='/UserGroup/AddUser/@group.ID'">新增牛人</button>
        <span class="ucenter-right-head-selected">

        </span>
    </div>

    <div style="display:block;margin-left:40px" class="lstUser">
    </div>
    <p class="loadMore">下拉加载更多</p>
</div>
